package com.example.imoocmall.service;

import com.example.imoocmall.filter.UserFilter;
import com.example.imoocmall.model.request.CreateOrderReq;
import com.example.imoocmall.model.vo.CartVo;
import com.example.imoocmall.model.vo.OrderVo;
import com.example.imoocmall.service.impl.CartServiceImpl;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * OrderService
 */

public interface OrderService {


    String create(CreateOrderReq createOrderReq);

    OrderVo detail(String orderNo);


    PageInfo listForController(Integer pageNum, Integer pageSize);

    void cancel(String orderNo);

    String qrcode(String orderNo);

    void pay(String orderNo);

    void finish(String orderNo);
}
